package com.homevip.core.converter;

import org.springframework.core.convert.converter.Converter;

import com.homevip.util.NumberUtil;

public class String2DoubleConverter implements Converter<String, Double>{

    @Override
    public Double convert(String param) {
        if(null == param){
            return null;
        }else{
            return NumberUtil.ToDouble(param);
        }
    }

}
